<?php
namespace Home\Model;
use Think\Model\ViewModel;

//检测试卷的权限专用的!
class CheckQuestionSetViewModel extends ViewModel{
    protected $viewFields = array(
        "course"=>array("cou_id","teacher_tea_id"),
        "class"=>array(
            "cla_id"=>"cla_id",
            '_on'=>'class.cou_id=course.cou_id'
        ),
        "question_set"=>array(
            "qus_id"=>"qus_id",
            '_on'=>'question_set.class_cla_id=class.cla_id'
        ),
    );
}
